Skip to content

[DRAFT][AIEX] Improve pre-sched decisions for Post-SWP candidates #429

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: aie-public
Choose a base branch
from

Conversation

andcarminati
Copy link
Collaborator

This is a trial to get a more consistent behavior for the PreRA Scheduler. Currently, for example. Now, we will look only to Post-SWP potential candidates to skip the pre scheduler. The affected test also shows that we could prevent pre-scheduling of non-ZOL loops with the current approach.

@@ -190,4 +190,51 @@ bool hasUnrollPragma(const Loop *L) {
return false;
}

/// Check if this block is a post-SWP candidate.
bool isPostSWPCandidate(const AIEBaseInstrInfo &TII,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some refactoring opportunities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant